package com.ibiaoke.goods.service;

import com.ibiaoke.common.base.Page;
import com.ibiaoke.goods.entity.XcxReduceGoods;
import com.ibiaoke.goods.entity.XcxReduceGoodsDetail;
import com.ibiaoke.goods.entity.vo.XcxReduceGoodsDetailVo;

import java.util.List;

public interface XcxReduceGoodsService {

    Integer addXcxReduceGoods(String userName, List<XcxReduceGoodsDetailVo> xcxReduceGoodsDetailVo,
                           Integer payType,Double orderPrice,Double discounPrice,Double freightPrice,Double realPrice,
                              Integer shopId,String shopName,Double onePrice );

    List<XcxReduceGoods> findXcxReduceGoods(Integer shopId,Page page);

    List<XcxReduceGoodsDetail> findXcxReduceGoodsDetail(String reduceCode);
}
